package com.mz.entity;

import java.util.Date;

public class SysMenu {

	private Long menuId;			//菜单ID
	private String menuCode;		//菜单编码，用于关联菜单的上下级关系
	private String menuName;		//菜单名称
	private String url;				//链接地址
	private String parameter;		//链接参数
	private String target;			//访问方式
	private Integer orderNum;		//排列系数
	private Integer status;			//状态	-1|删除, 0|禁用, 1|正常
	private Date createTime;		//创建时间
	private Long createUser;		//创建用户
	private Date updateTime;		//最后一次更新时间
	private Long updateUser;		//最后更新用户
	
	public SysMenu() {
	}
	
	public SysMenu(Long menuId, String menuCode, String menuName, String url, String parameter, String target,
			Integer orderNum, Integer status, Date createTime, Long createUser, Date updateTime, Long updateUser) {
		super();
		this.menuId = menuId;
		this.menuCode = menuCode;
		this.menuName = menuName;
		this.url = url;
		this.parameter = parameter;
		this.target = target;
		this.orderNum = orderNum;
		this.status = status;
		this.createTime = createTime;
		this.createUser = createUser;
		this.updateTime = updateTime;
		this.updateUser = updateUser;
	}

	public Long getMenuId() {
		return menuId;
	}
	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}
	public String getMenuCode() {
		return menuCode;
	}
	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getParameter() {
		return parameter;
	}
	public void setParameter(String parameter) {
		this.parameter = parameter;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public Integer getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Long getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}
}